package com.ruoyi.interfaced.domain;

import com.ruoyi.interfaced.controller.ShopOrderInfoInterController;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 产品列表对象 shop_goods
 * 
 * @author ruoyi
 * @date 2021-11-29
 */
public class ShopGoodsInter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

//    /**
//     * 规格显示
//     */
//    private List<ShopGoods> goods;
//
//    public List<ShopGoods> getGoods() {
//        return goods;
//    }
//
//    public void setGoods(List<ShopGoods> goods) {
//        this.goods = goods;
//    }
    private Long goodsShopName;

    public Long getGoodsShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(Long goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    private List<ShopUserInter> shopUser;

    public List<ShopUserInter> getShopUser() {
        return shopUser;
    }

    public void setShopUser(List<ShopUserInter> shopUser) {
        this.shopUser = shopUser;
    }

    /**
     * 查找
     */
    private List<ShopGoodsInter> select;

    public List<ShopGoodsInter> getSelect() {
        return select;
    }

    public void setSelect(List<ShopGoodsInter> select) {
        this.select = select;
    }

    /**
     * 添加
     */

    private int quan;

    public int getQuan() {
        return quan;
    }

    public void setQuan(int quan) {
        this.quan = quan;
    }

    /**
     * 修改
     * @return
     */

    private int update;

    public int getUpdate() {
        return update;
    }

    public void setUpdate(int update) {
        this.update = update;
    }


    /**
     * 规格显示
     */

    private List<ShopGoodsInter> property;

    public List<ShopGoodsInter> getProperty() {
        return property;
    }

    public void setProperty(List<ShopGoodsInter> property) {
        this.property = property;
    }

    /** 产品ID */
    private Integer id;

    /** 选择栏目 */
    @Excel(name = "选择栏目")
    private String goodsCategoryName;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 显示次序 */
    @Excel(name = "显示次序")
    private Integer displayOrder;

    /** 默认价格 */
    @Excel(name = "默认价格")
    private Integer defaultPrice;

    /** 是否在卖 */
    @Excel(name = "是否在卖")
    private Integer isSell;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String image;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public Integer getShopids() {
        return shopids;
    }

    public void setShopids(Integer shopids) {
        this.shopids = shopids;
    }

//    ShopProperty
    private ShopProperty shopProperty;
    //伪删
    private  Integer goodsDelete;

    public Integer getGoodsDelete() {
        return goodsDelete;
    }

    public void setGoodsDelete(Integer goodsDelete) {
        this.goodsDelete = goodsDelete;
    }

    //   连shoporderinfo
    private  Integer shopids;
    /** 连表 **/
    private ShopCommodityInter shopCommodity;

    public ShopCommodityInter getShopCommodity() {
        return shopCommodity;
    }

    public void setShopCommodity(ShopCommodityInter shopCommodity) {
        this.shopCommodity = shopCommodity;
    }

    private ShopOrderInfoInterController shopOrderInfoController;

    public ShopOrderInfoInterController getShopOrderInfoController() {
        return shopOrderInfoController;
    }

    public void setShopOrderInfoController(ShopOrderInfoInterController shopOrderInfoController) {
        this.shopOrderInfoController = shopOrderInfoController;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public ShopProperty getShopProperty() {
        return shopProperty;
    }

    public void setShopProperty(ShopProperty shopProperty) {
        this.shopProperty = shopProperty;
    }

    public Integer getId()
    {
        return id;
    }
    public void setGoodsCategoryName(String goodsCategoryName) 
    {
        this.goodsCategoryName = goodsCategoryName;
    }

    public String getGoodsCategoryName() 
    {
        return goodsCategoryName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDisplayOrder(Integer displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Integer getDisplayOrder() 
    {
        return displayOrder;
    }
    public void setDefaultPrice(Integer defaultPrice) 
    {
        this.defaultPrice = defaultPrice;
    }

    public Integer getDefaultPrice() 
    {
        return defaultPrice;
    }
    public void setIsSell(Integer isSell) 
    {
        this.isSell = isSell;
    }

    public Integer getIsSell() 
    {
        return isSell;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsCategoryName", getGoodsCategoryName())
            .append("name", getName())
            .append("displayOrder", getDisplayOrder())
            .append("defaultPrice", getDefaultPrice())
            .append("isSell", getIsSell())
            .append("image", getImage())
            .append("description", getDescription())
            .append("shopids", getShopids())
            .append("", getShopids())
            .append("shopCommodity", getShopCommodity())
            .append("shopOrderInfoController", getShopOrderInfoController())
            .append("shopProperty",getShopProperty())
            .append("property", getProperty())
            .append("goodsDelete", getGoodsDelete())
            .append("shopUser", getShopUser())
            .append("update", getUpdate())
            .append("select", getSelect())
            .append("goodsShopName", getGoodsShopName())
            .toString();
    }

}
